import {createAppContainer, createStackNavigator} from 'react-navigation'
import Startup from '../pages/startup/startup'
import React from "react";
import Boot from '../pages/startup/boot'
import HomeNavigator from './homeNavigator'
import ChatInfo from "../pages/news/components/ChatInfo";
import History from "../pages/common/history/HistoryPage"


import Collection from "../pages/common/Collection/Collection";
import Login from "../pages/my/components/login";
import Star from "../pages/common/star/Star";

const StartupNavigator = createStackNavigator({
    Startup: {
        screen: Startup,
        navigationOptions: {
            header: null
        }
    },
    Boot: {
        screen: Boot,
        navigationOptions: {
            header: null
        }
    },
    Home: {
        screen: HomeNavigator,
        navigationOptions: {
            header: null
        }

    },
    ChatInput: {
        screen: ChatInfo,
        navigationOptions: {
            header: null
        }

    },
    Login: {
        screen: Login,
        navigationOptions: {
            header: null
        }

    },

    Collection: {
        screen: Collection,
        navigationOptions: {
            header: null
        }

    },
    History: {
        screen: History,
        navigationOptions: {
            header: null
        }

    },
    Star: {
        screen: Star,
        navigationOptions: {
            header: null
        }

    },

}, {
    initialRouteName: 'Startup',

});
export default createAppContainer(StartupNavigator)
